#ifndef _ADC_H
#define _ADC_H

#include "stm32f4xx.h"
typedef struct adc
{
	u16 adc_light;
	u16 adc_gas;
	float adc_temp;
	
}ADC_t;

void adc1_ch12_lightsensor_init(void);
u16 get_lightsensor_data(void);
void adc2_ch10_gassensor_init(void);
u16 get_gassensor_data(void);
void adc1_2sensor_init(void);
ADC_t get_2sensor_data(void);
void adc1_3sensor_init(void);
ADC_t get_3sensor_data(void);
#endif 

